package com.pet.server.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 门店表
 *
 * @author Centaurea
 */
@ApiModel(value = "com-pet-server-domain-entity-Shop")
@Data
@NoArgsConstructor
@TableName(value = "t_shop")
public class Shop implements Serializable {
  private static final long serialVersionUID = 6717111293195196506L;
  public static final String COL_ID = "id";
  public static final String COL_SHOP_NAME = "shop_name";
  public static final String COL_LICENSE_NUMBER = "license_number";
  public static final String COL_LICENSE_PICTURE = "license_picture";
  public static final String COL_SHOP_ADDRESS = "shop_address";
  public static final String COL_SHOP_LOCATION = "shop_location";
  public static final String COL_SHOP_CHARACTERISTIC = "shop_characteristic";
  public static final String COL_SHOP_CORPORATION = "shop_corporation";
  public static final String COL_CORPORATION_PHONE = "corporation_phone";
  public static final String COL_CORPORATION_AVATAR = "corporation_avatar";
  public static final String COL_COMMISSION_RATE = "commission_rate";
  public static final String COL_AUDIT_STATUS = "audit_status";

  /** 门店ID */
  @TableId(value = "id", type = IdType.AUTO)
  @ApiModelProperty(value = "门店ID")
  private Integer id;

  /** 门店名称 */
  @TableField(value = "shop_name")
  @ApiModelProperty(value = "门店名称")
  private String shopName;

  /** 营业执照号码 */
  @TableField(value = "license_number")
  @ApiModelProperty(value = "营业执照号码")
  private String licenseNumber;

  /** 营业执照图片 */
  @TableField(value = "license_picture")
  @ApiModelProperty(value = "营业执照图片")
  private String licensePicture;

  /** 营业地址 */
  @TableField(value = "shop_address")
  @ApiModelProperty(value = "营业地址")
  private String shopAddress;

  /** 定位（经纬度） */
  @TableField(value = "shop_location")
  @ApiModelProperty(value = "定位（经纬度）")
  private String shopLocation;

  /** 特色 */
  @TableField(value = "shop_characteristic")
  @ApiModelProperty(value = "特色")
  private String shopCharacteristic;

  /** 法人 */
  @TableField(value = "shop_corporation")
  @ApiModelProperty(value = "法人")
  private String shopCorporation;

  /** 联系电话 */
  @TableField(value = "corporation_phone")
  @ApiModelProperty(value = "联系电话")
  private String corporationPhone;

  /** 头图 */
  @TableField(value = "corporation_avatar")
  @ApiModelProperty(value = "头图")
  private String corporationAvatar;

  /** 佣金比例 */
  @TableField(value = "commission_rate")
  @ApiModelProperty(value = "佣金比例")
  private String commissionRate;

  /** 审核状态 */
  @TableField(value = "audit_status")
  @ApiModelProperty(value = "审核状态")
  private String auditStatus;
}
